package com.example.ticket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.ticket.entity.TicketFile;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FileMapper extends BaseMapper<TicketFile> {
    @Insert("insert into t_ticketfile(ticket_id,fileurl) values(#{ticketId},#{fileurl})")
    public int insertFile (TicketFile ticketFile);

}
